package pl.edu.agh.sr.lab3.zad2.impl.server;

import pl.edu.agh.sr.lab3.zad2.generated.ItemPOA;

public class ItemImpl extends ItemPOA {

	private String name;
	
	public ItemImpl(String name) {
		this.name = name;
	}
	
	@Override
	public String name() {
		return name;
	}

	@Override
	public int get_item_age() {
		return name.length();
	}

}
